<template>
  <div id="app">
    <Son :msg="msg" :info="info" :obj="obj" @yang="yang" @ming="ming"></Son>
  </div>
</template>

<script>
import Son from "./components/Son";
export default {
  name: 'App',
  data() {
    return {
      msg:"好好",
      info:"学习",
      obj:{
        name:"tom",
        age:18
      }
    };
  },
  mounted(){
    
  },
  components: {
    Son,
  },
  methods:{
    yang(){
      console.log("数据");
    },
    ming(){
      console.log("事件");
    }
  },
  computed:{
    
  },
};
</script>

<style lang="scss" scoped>
  
</style>
